package Day01;

import java.util.Scanner;

//月份判断季节
public class Demo09 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入合适的月份");
        String next = sc.next();
        switch (next){
            case "1":
            case "2":
            case "3":{
                System.out.println("春季");
                break;
            }
            case "4":
            case "5":
            case "6":{
                System.out.println("夏季");
                break;
            }
            case "7":
            case "8":
            case "9":{
                System.out.println("秋季");
                break;
            }
            case "10":
            case "11":
            case "12":{
                System.out.println("东季");
                break;
            }
            default:{
                System.out.println("请输入正确的月份");
            }
        }
    }
}
